﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;


namespace EZCRS.HCMS.Entity
{
    #region H_description
    /// <summary>
    /// This object represents the properties and methods of a H_description.
    /// </summary>
    public class HCRS_Description
    {
        private int? _hotel_id;
        private int? _property_id;
        private DateTime? _updateTime;
        private string _frequentStay = String.Empty;
        private string _satety = String.Empty;
        private string _property = String.Empty;
        private string _rooms = String.Empty;
        private string _ratings = String.Empty;
        private string _meetings = String.Empty;
        private string _facilities = String.Empty;
        private string _transportation = String.Empty;
        private string _amenities = String.Empty;
        private string _recreation = String.Empty;
        private string _dining = String.Empty;
        private string _corporate = String.Empty;
        private string _attractions = String.Empty;
        private string _policies = String.Empty;
        private string _marketingVerbage = String.Empty;
        private string _commission = String.Empty;
        private string _specialRate = String.Empty;
        private string _location = String.Empty;
        private int? _languagetype;
        private string _directions = String.Empty;
        private string _team = String.Empty;
        private string _market = String.Empty;
        private string _booking = String.Empty;
        private string _usual = String.Empty;
        private string _agent = String.Empty;

        public HCRS_Description()
        {
        }

        public HCRS_Description(DataRow dr)
        {
            _hotel_id = Convert.ToInt32(dr["hotel_id"].ToString());
            _property_id = Convert.ToInt32(dr["property_id"].ToString());
            if (dr["updatetime"].ToString() != "")
                _updateTime = Convert.ToDateTime(dr["updatetime"].ToString());
            _frequentStay = dr["frequentStay"].ToString();
            _satety = dr["satety"].ToString();
            _property = dr["property"].ToString();
            _rooms = dr["rooms"].ToString();
            _ratings = dr["ratings"].ToString();
            _meetings = dr["meetings"].ToString();
            _facilities = dr["facilities"].ToString();
            _transportation = dr["transportation"].ToString();
            _amenities = dr["amenities"].ToString();
            _recreation = dr["recreation"].ToString();
            _dining = dr["dining"].ToString();
            _corporate = dr["corporate"].ToString();
            _attractions = dr["attractions"].ToString();
            _policies = dr["policies"].ToString();
            _marketingVerbage = dr["marketingVerbage"].ToString();
            _commission = dr["commission"].ToString();
            _specialRate = dr["specialRate"].ToString();
            _location = dr["location"].ToString();
            if (dr["languagetype"].ToString() != "")
                _languagetype = Convert.ToInt32(dr["languagetype"].ToString());
            _directions = dr["directions"].ToString();
            _team = dr["team"].ToString();
            _market = dr["market"].ToString();
            _booking = dr["booking"].ToString();
            _usual = dr["usual"].ToString();
            _agent = dr["agent"].ToString();
        }

        

        #region Public Properties

        public string usual
        {
            get { return _usual; }
            set { _usual = value; }
        }

        public string agent
        {
            get { return _agent; }
            set { _agent = value; }
        }

        public string booking
        {
            get { return _booking; }
            set { _booking = value; }
        }

        public string team
        {
            get
            {
                return _team;
            }
            set { _team = value; }
        }
        public string market
        {
            get { return _market; }
            set { _market = value; }
        }

        public int? Hotel_Id
        {
            get { return _hotel_id; }
            set { _hotel_id = value; }
        }

        public int? Property_id
        {
            get { return _property_id; }
            set { _property_id = value; }
        }

        public DateTime? UpdateTime
        {
            get { return _updateTime; }
            set { _updateTime = value; }
        }

        public string FrequentStay
        {
            get { return _frequentStay; }
            set { _frequentStay = value; }
        }

        public string Satety
        {
            get { return _satety; }
            set { _satety = value; }
        }

        public string Property
        {
            get { return _property; }
            set { _property = value; }
        }

        public string Rooms
        {
            get { return _rooms; }
            set { _rooms = value; }
        }

        public string Ratings
        {
            get { return _ratings; }
            set { _ratings = value; }
        }

        public string Meetings
        {
            get { return _meetings; }
            set { _meetings = value; }
        }

        public string Facilities
        {
            get { return _facilities; }
            set { _facilities = value; }
        }

        public string Transportation
        {
            get { return _transportation; }
            set { _transportation = value; }
        }

        public string Amenities
        {
            get { return _amenities; }
            set { _amenities = value; }
        }

        public string Recreation
        {
            get { return _recreation; }
            set { _recreation = value; }
        }

        public string Dining
        {
            get { return _dining; }
            set { _dining = value; }
        }

        public string Corporate
        {
            get { return _corporate; }
            set { _corporate = value; }
        }

        public string Attractions
        {
            get { return _attractions; }
            set { _attractions = value; }
        }

        public string Policies
        {
            get { return _policies; }
            set { _policies = value; }
        }

        public string MarketingVerbage
        {
            get { return _marketingVerbage; }
            set { _marketingVerbage = value; }
        }

        public string Commission
        {
            get { return _commission; }
            set { _commission = value; }
        }

        public string SpecialRate
        {
            get { return _specialRate; }
            set { _specialRate = value; }
        }

        public string Location
        {
            get { return _location; }
            set { _location = value; }
        }

        public int? languagetype
        {
            get { return _languagetype; }
            set { _languagetype = value; }
        }

        public string directions
        {
            get { return _directions; }
            set { _directions = value; }
        }
        #endregion

        
    }
    #endregion
}
